Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdba: add image capture support #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RayyanAnsari
Copy link

Add support for capturing an image from the server and saving it on the client with a new command, ^A i.

cdba.h Outdated Show resolved Hide resolved
meson.build Outdated Show resolved Hide resolved
circ_buf.h Outdated Show resolved Hide resolved
Copy link
Collaborator

@lumag lumag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please rework the capture protocol. On receiving the command from kbd client should open the file and send the command to the server. Then on each chunk received from the server it should append it to the file. Receiving empty capture message should specify that the whole file has been sent. The client should forbid sending more 'capture' commands until previous one has completed.
  • Please drop extra YUV conversion. If you need additional information regarding YUV formats please ping me.

cdba.c Outdated Show resolved Hide resolved
cdba.c Outdated Show resolved Hide resolved
cdba.c Outdated Show resolved Hide resolved
cdba.c Outdated Show resolved Hide resolved
cdba.c Outdated Show resolved Hide resolved
camera.c Outdated Show resolved Hide resolved
camera.c Outdated Show resolved Hide resolved
camera.c Outdated Show resolved Hide resolved
camera.c Outdated Show resolved Hide resolved
camera.c Outdated Show resolved Hide resolved
@konradybcio
Copy link
Member

a separate "address review comments" commit is unnecessary (unless it's for your own tracking), as github provides a nice Compare button (which itself is probably a wrapper around git range-diff), so the reviewers can already tell what's going on

@RayyanAnsari RayyanAnsari force-pushed the image-capture branch 2 times, most recently from 01208e7 to 5242b6a Compare August 30, 2024 15:11
cdba-server.c Show resolved Hide resolved
@lumag
Copy link
Collaborator

lumag commented Aug 30, 2024

@RayyanAnsari last item. "The base branch requires all commits to be signed. Learn more about signing commits."

Add support for capturing an image from the server and saving it on the
client with a new command, ^A i.

Signed-off-by: Rayyan Ansari <rayyan.ansari@linaro.org>
@RayyanAnsari
Copy link
Author

The commit should now be signed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants